ResponseStarted

public interface ResponseStarted implements NetworkEvent

An event indicating that the first byte of the URL response body has been received. For HTTP requests, this means that the status line and the response headers are available.

Functions

Link copied to clipboard
public Network network()
Returns the Network instance initiated this event.
Link copied to clipboard
public int responseCode()
Returns the HTTP response code.
Link copied to clipboard
Returns the URL request associated with the response.